<template>
	<view class="modal" v-show="visable">
		<view class="actionSheet">
			<view class="action-list">
				<view class="action-item action-tel" @click="doCall">
					027-09929929
				</view>
				<view class="action-item action-cancel" @click="close">
					取消
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props: ['visable'],
		data() {
			return {
				
			};
		},
		methods: {
			close() {
				this.$emit('close')
			},
			doCall() {
				uni.makePhoneCall({
					phoneNumber: '02709929929'
				})
			}
		}
	}
</script>

<style>
.modal {
	position: fixed;
}
</style>
